package com.tledu.instrument.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tledu.common.annotation.Excel;
import com.tledu.common.core.domain.BaseEntity;

/**
 * 仪器信息对象 instrument_info
 * 
 * @author longxf
 * @date 2024-08-28
 */
public class InstrumentInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 仪器名称 */
    @Excel(name = "仪器名称")
    private String name;

    /** 存放位置 */
    @Excel(name = "存放位置")
    private String location;

    /** 附件 */
    private String attach;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String specification;

    /** 主要技术指标 */
    private String technical;

    /** 有效期(单位：天) */
    private Long validity;

    /** 使用状态 */
    @Excel(name = "使用状态")
    private Long useStatus;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long createUser;

    /** 修改人 */
    private Long updateUser;

    /** 删除标注(0未删除，1删除) */
    private Long delFlag;

    /** 部门id */
    private Long deptId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }
    public void setAttach(String attach) 
    {
        this.attach = attach;
    }

    public String getAttach() 
    {
        return attach;
    }
    public void setSpecification(String specification) 
    {
        this.specification = specification;
    }

    public String getSpecification() 
    {
        return specification;
    }
    public void setTechnical(String technical) 
    {
        this.technical = technical;
    }

    public String getTechnical() 
    {
        return technical;
    }
    public void setValidity(Long validity) 
    {
        this.validity = validity;
    }

    public Long getValidity() 
    {
        return validity;
    }
    public void setUseStatus(Long useStatus) 
    {
        this.useStatus = useStatus;
    }

    public Long getUseStatus() 
    {
        return useStatus;
    }
    public void setCreateUser(Long createUser) 
    {
        this.createUser = createUser;
    }

    public Long getCreateUser() 
    {
        return createUser;
    }
    public void setUpdateUser(Long updateUser) 
    {
        this.updateUser = updateUser;
    }

    public Long getUpdateUser() 
    {
        return updateUser;
    }
    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("location", getLocation())
            .append("attach", getAttach())
            .append("specification", getSpecification())
            .append("technical", getTechnical())
            .append("validity", getValidity())
            .append("remark", getRemark())
            .append("useStatus", getUseStatus())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .append("updateUser", getUpdateUser())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .append("deptId", getDeptId())
            .toString();
    }
}
